package com.briup.app02.bean.extend;

import java.awt.List;

import com.briup.app02.bean.Article;
import com.briup.app02.bean.Category;
import com.briup.app02.bean.Comment;

public class ArticleExtend extends Article{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//多对一
	private Category category;
	//一对多 一个文章对应多个评论
	private java.util.List<Comment>comments;

	public java.util.List<Comment> getComments() {
		return comments;
	}

	public void setComments(java.util.List<Comment> comments) {
		this.comments = comments;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

}
